#在项目根目录下运行，sh shell/start.sh

echo "start  begin........"
pid=`ps ax | grep java | grep csms-api | grep -v grep | awk '{print $1}'`
if [ -z "$pid" ] ; then
	nohup java -jar csms-api/target/csms-api-0.0.2.jar --spring.profiles.active=rel >/dev/null 2>&1  &
	echo "start  success!"
else
     	echo "server is running."
fi
